<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<style>
			
			div{
				
				width: 100px;
				height: 100px;
				background-color: red;
				
				margin: 2px;
			}
		</style>
	</head>
	<body>
		
		<div class="scott">aa</div>
		<div class="scott">bb</div>
		<div class="scott">cc</div>
		<div class="scott">dd</div>
		
		
		<input  type="button" id="deleteDivs" value="删除所有的divs" />
		
	</body>
	
	
	<script type="text/javascript" src="../js/jquery-1.8.2.min.js" ></script>
	
	<script>
		$('#deleteDivs').click(function(){
			
			$('.scott').remove();
		});
		
		
	</script>
</html>
